{{partial('public/header')}} 
<!--main-->
<div class="midder">
  <div class="mc">
    <h1>{{seo.title}}</h1>
    <div class="cleft"> {{partial('manage/edit_xbar')}}
      <h2>{{strGroup['role_leader']}} &nbsp; ·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;</h2>
      <div class="obss">
        <dl class="obu">
          <dt><a class="nbg" href="{{url('group/people/'~strLeader['doname'])}}"><img alt="mido" class="m_sub_img" src="{{strLeader['face_48']}}"></a></dt>
          <dd>{{strLeader['username']}}<br>
            <span class="pl">({{strLeader['area']['areaname']}})</span></dd>
        </dl>
        <br clear="all">
      </div>
      
      
      <h2>{{strGroup['role_admin']}} &nbsp; ·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;</h2>
      <div class="obss"> 
        {% for item in arrAdmin %}
        <dl class="obu">
          <dt><a class="nbg" href="{{url('group/people/'~item['doname'])}}"><img alt="{{item['username']}}" class="m_sub_img" src="{{item['face_48']}}"></a>
            {% if visitor['userid'] == strLeader['userid'] and item['userid']!= strLeader['userid']%} 
            <span title="取消管理员" class="gact"><a title="取消{{item['username']}}的管理员" class="j a_confirm_link" href="{{url('group/manage/rolefor/cancel_admin?uid='~item['userid']~'&gid='~strGroup['groupid'])}}" rel="nofollow">v</a></span> 
            {% endif %}
          </dt>
          <dd>{{item['username']}}<br>
            <span class="pl">({{item['area']['areaname']}})</span></dd>
        </dl>
        {% endfor %} <br clear="all">
      </div>
      
      
      <h2>{{strGroup['role_user']}} &nbsp; ·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;</h2>
      <div class="obss">
        {% for item in arrGroupUser %}
          <dl class="obu">
            <dt> <a class="nbg" href="{{url('group/people/'~item['doname'])}}"><img alt="{{item['username']}}" class="m_sub_img" src="{{item['face_48']}}"></a>
              <div class="u_actions" style="display: inline-block; vertical-align: middle;">
			  {% if visitor['userid'] == strLeader['userid']  and !item['isgroup_admin']%}
                {% if item['userid']!= strLeader['userid'] %}
                <span title="提升为管理员" class="gact"><a title="把{{item['username']}}提升为管理员" class="j a_confirm_link" href="{{url('group/manage/rolefor/promote_admin?uid='~item['userid']~'&gid='~strGroup['groupid'])}}" rel="nofollow">^</a></span> <br />
                {% endif %}
                {% if item['userid'] != strGroup['userid'] %}
                 <span title="踢出小组" class="gact"><a title="把{{item['username']}}踢出小组" class="j a_confirm_link" href="{{url('group/manage/rolefor/kick?uid='~item['userid']~'&gid='~strGroup['groupid'])}}" rel="nofollow">k</a></span> <br />
                {% endif %}
              {% endif %}  
              </div>           
            </dt>
            <dd>{{item['username']}}<br>
              <span class="pl">({{item['area']['areaname']}})</span></dd>
          </dl>
         {% endfor %}
        
        
        <br clear="all">
      </div>
      <div class="page"></div>
      <br />
    </div>
    <div class="cright">
      <p class="pl2">&gt; <a href="{{url('group/show/'~strGroup['groupid'])}}">返回{{strGroup['groupname']}}</a></p>
      

        <h2>
            管理员任免
                &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
        </h2>   

        <div class="indent">
        <p class="pl">提拔成员为管理员，
            点击成员名号旁边<span class="gact">^</span>;
        </p>
        <p class="pl">免去当前管理员的责权，点击名号旁边
        <span class="gact">v</span>。
        </p>
        <p class="pl">管理员能够编辑小组介绍和图标、
        删除小组收藏和小组发言。</p>
        </div>
 
      
        <h2>
        踢人和封禁
            &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
        </h2>
      
        <div class="indent"><p class="pl">把成员踢出小组，
        点击头像旁边<span class="gact">k</span>。
        踢出去的用户以后可以再加入。</p>
        <p class="pl">永久禁止一个成员加入本小组，
        点击头像旁边<span class="gact">x</span>。</p></div>      
      
    </div>
  </div>
</div>
